package cn.sangyy.basic.constent;

/**
 * @author SangYY
 * @date: 2023/05/23/19:17
 */
public class BaseConstants {

    public static final String CAR_TYPE_TREE_IN_REDIS = "car_type_tree_in_redis";
    public static final String REGISTER_PHONE_CODE_IN_REDIS = "register_phone_in_redis_";
    public static final String LOGIN_PHONE_CODE_IN_REDIS = "register_phone_code_in_redis_";
    public static final String BIND_PHONE_CODE_IN_REDIS = "bind_phone_code_in_redis";

    //店铺状态
    public class  Shop{
        public static final int STATE_WAIT_AUTID = 1 ; //"待审核";
        public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
        public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
        public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
    }

    //员工状态
    public class Employee{
        public static final int STATE_WAIT_AUTID = -1 ; //"待激活",
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
    }

    //是否店铺管理员
    public class ShopAdmin{
        public static final int STATE_IS_ADMIN = 1 ; //"是店铺管理员",
        public static final int STATE_NOT_ADMIN = 0 ; //"不是店铺管理员",
    }

    //是否审核通过
    public class ShopPass{
        public static final int STATE_IS_PASS = 1 ; //"审核通过",
        public static final int STATE_NOT_PASS = 0 ; //"审核不通过",
    }

    public class carState{
        public static final int CAR_STATE_ONLINE = 1 ; //"上架",
        public static final int CAR_STATE_OFFLINE = 0 ; //"下架",
    }

    public class carAuditState{
        public static final int CAR_AUDIT_STATE_SUCCESS = 1 ; //"上架",
        public static final int CAR_AUDIT_STATE_FAIL = 0 ; //"下架",
    }

    public class carOperationLogType{
        public static final int CAR_OPERATION_LOG_TYPE_AUDIT_SUCCESS = 1 ; //审核成功,
        public static final int CAR_OPERATION_LOG_TYPE_AUDIT_FAIL = 2 ; //审核失败,
        public static final int CAR_OPERATION_LOG_TYPE_ONLINE = 3 ; //上架,
        public static final int CAR_OPERATION_LOG_TYPE_OFFLINE = 4 ; //下架,
    }

}
